export const getters = {
  getterA: 'getterA',
  comment_getterA: 'comment/getterA'
}
// 在其他地方调用 getters 时
// import * as types from '@/store-types/types'
// this.$store.getters[types.getters.getterA]
// this.$store.getters[types.getters.comment_getterA]

// 或者按需引入：import { getters } from '@/store-types/types'
// this.$store.getters[getters.getterA]
// this.$store.getters[getters.comment_getterA]

export const mutations = {
  updateA: 'updateA',
  comment_updateA: 'comment/updateA'
}
// 在其他地方调用 mutations 时
// import * as types from '@/store-types/types'
// this.$store.commit(types.mutations.updateA)
// this.$store.commit(types.mutations.comment_updateA)

// 或者按需引入：import { mutations } from '@/store-types/types'
// this.$store.commit(mutations.updateA)
// this.$store.commit(mutations.comment_updateA)

export const actions = {
  updateA: 'updateA',
  comment_updateA: 'comment/updateA'
}
// 在其他地方调用 actions 时
// import * as types from '@/store-types/types'
// this.$store.dispatch(types.actions.updateA)
// this.$store.dispatch(types.actions.comment_updateA)

// 或者按需引入：import { actions } from '@/store-types/types'
// this.$store.dispatch(actions.updateA)
// this.$store.dispatch(actions.comment_updateA)
